package com.example.crossborderecommerce.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.crossborderecommerce.entity.Admin;
import com.example.crossborderecommerce.entity.StoreReceipt;
import com.example.crossborderecommerce.entity.StoreTransfer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Mapper
public interface StoreTransferMapper extends BaseMapper<StoreTransfer> {
    public List<Admin> findAdminsInStoreTransfer();


    public List<StoreTransfer> getStoreTransferByPage(Page<StoreTransfer> page,
                                                    @Param("adminId") String adminId,
                                                    @Param("outStoreId") String outStoreId,
                                                    @Param("inStoreId") String inStoreId,
                                                    @Param("transferCommodityId") String transferCommodityId);
}
